package com.leha.apidemo.Utils;

/**
 * Created by xiabin on 2017/8/14.
 */
public enum APIErrorDict {
    AWSError(20001, "AWS保存文件失败"),
    USER_NOT_FOUND(20002, "用户不存在"),
    PARAMERROR(20003, "参数错误"),
    SYSERROR(20004, "系统异常");
    
    private String msg;

    private Integer code;

    APIErrorDict(Integer Code, String emsg) {
        msg = emsg;
        code = Code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
